<!--引入头部文件-->
{template "content","header"}
<!--引入导航条-->
{template "content","nav"}
<!--标题图片-->
<div class="thumb">
    <img src="{IMG_PATH}/img/1.png">
</div>
<!--主体-->
<div class="dcit-main">
    <div class="sub-nav">
        <div class="sub">
            <dl>
                <dt>学生天地</dt>
                {pc:content action="category" catid="19" order="listorder ASC"}
                {loop $data $r}
                <dd {if $catid==$r['catid']} class="active" {/if}>
                <a href="{$r['url']}">{$r['catname']}<i class="icon iconfont icon-arrows-r"></i></a>
                </dd>
                {/loop}
                {/pc}
            </dl>
        </div>
        <div class="leave-word">
            <div class="title clearfix">
                <div><i class="icon iconfont icon-leave-word"></i></div>
                <div><p>留言板</p><small>Message Board</small></div>
            </div>
            <div class="leave-center">
                <input type="text" placeholder="请留下您宝贵的意见或建议"/><span><i class="icon iconfont icon-send"></i></span>
            </div>
        </div>
        <div class="links">
            <h3>相关链接</h3>
            <small>欢迎来到神岗山中学</small>
            {template "content","link"}
        </div>
    </div>
    <div class="main">
        <!--面包屑导航-->
        <div class="breadcrumb">
            <ul>
                <li><a href="#"><i class="icon iconfont icon-house"></i></a>
                    {catpos($catid)}
                </li>
            </ul>
            <div class="line"></div>
        </div>
        <!---->
        <!-- 内容区 -->
        <div class="sgscontent-area">
            <ul class="sgsfig-cap sgsfig-a-bgc">
                {pc:content action="lists" catid="$catid" num="12" order="id DESC" page="$page"}
                {loop $data $r}
                <li>
                    <a href="{$r[url]}">
                        <figure>
                            <img src="{$r[thumb]}" alt="">
                            <figcaption>
                                <p>{$r[title]}</p>
                                <i>发布时间：{date('Y-m-d',$r[inputtime])}</i>
                            </figcaption>
                        </figure>
                    </a>
                </li>
                {/loop}
            </ul>
        </div>
        <!--  -->
        <!--分页-->
        <div class="page">
            {$pages}
        </div>
        {/pc}
    </div>
</div>
<!--底部-->
{template "content","footer"}